Ext.create('Ext.data.Store', {
    storeId: 'receiversStore',
    proxy : {
		type : 'ajax',
		url : zuulUrl+'/'+taskServiceName+'/branch',// 请求
		reader : {
			type : 'json'
		},
		extractResponseData : function(response) {
			Ext.each(response.responseJson, function(record) {
				record.name=record.realName+'('+record.username+')';
			});
			return response;
		}
	},
	autoLoad : true
});

Ext.create('Ext.data.Store', {
    storeId: 'receiversGroupStore',
    proxy : {
		type : 'ajax',
		url : zuulUrl+'/'+taskServiceName+'/branchGroup',// 请求
		reader : {
			type : 'json'
		},
		extractResponseData : function(response) {
			Ext.each(response.responseJson, function(record) {
				record.name=record.name+'('+record.detial+')';
			});
			return response;
		}
	},
	autoLoad : true
});

var chooseReceiverGrid=Ext.create('Ext.grid.Panel', {
    store: Ext.data.StoreManager.lookup('receiversStore'),
    columns: [
        { text: '名字', dataIndex: 'name' ,flex:1}
    ],
    selModel: chooseTaskReceiverCheckBox
});